//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<base_pool.fxh>
///	@path	~/xeres.engine/res/fx/pool/
///	@date	2008/12/23
///	@desc	Declaration of global variable of per-object.

#ifndef POOL_PER_OBJECT_FXH
#define POOL_PER_OBJECT_FXH

//--------------------------------------------------------------------------------------
// Shared variables
//--------------------------------------------------------------------------------------
#ifdef D3D10

shared cbuffer PerObjectData
{

// World matrix
matrix						TransformWorldMatrix : WorldViewProj;

};

#else

// World matrix
shared matrix				TransformWorldMatrix : WorldViewProj;

#endif /*_D3D10*/

#endif /*POOL_PER_OBJECT_FXH*/
